package com.sn.author.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author xiaom
 * @Date 2020/9/22 10:02
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiOperation("回调消息")
public class CallbackVo implements Serializable {

    @ApiModelProperty("回调消息")
    private String message;

    @ApiModelProperty("类型 10(注册) 20(登录)")
    @NotNull(message = "消息类型不能为空")
    private Integer type;

}
